package com.sp.scmdb.dao;

import java.util.List;

import com.sp.scmdb.bean.UserBean;
import com.sp.scmdb.common.dao.CrudDao;
import com.sp.scmdb.entity.Department;

public interface DepartmentDao extends CrudDao<Department>{
	
	/**
	 * 根据用户权限取得部门列表
	 */	
	public List<Department> queryAll(UserBean user);
}
